﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpages/Main.master" EnableEventValidation="false" AutoEventWireup="true" CodeFile="ProjectControl.aspx.cs" Inherits="User_Employer_ProjectControl" %>

<%@ Register src="../../Controls/SelectContract.ascx" tagname="SelectContract" tagprefix="uc1" %>

<%@ Register src="../../Controls/ContentHolder/Holder1.ascx" tagname="Holder1" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
   <%-- <style type="text/css">
        .style1
        {
            text-align:right;
            width: 100%;
            font-family:Tahoma;
            font-size:x-small;
            direction:rtl;
            width: 100%;

        }
        .style2
        {
            height: 76px;
        }
        .style3
        {
              text-align:right;
            width: 100%;
            font-family:Tahoma;
            font-size:x-small;
            direction:rtl;
            width: 100%;
          
        }
    </style>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <uc2:Holder1 ID="Holder11" runat="server" >
                
                <ContentTemplate>
    <table class="style1">
        <tr>
            <td>
                <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                    <asp:View ID="View1" runat="server">
                        
                        <uc1:SelectContract ID="SelectContract1" runat="server" 
                            OnClick="SelectContract_click" />
                        
                    </asp:View><asp:View ID="View2" runat="server">

                        <table class="style3">
                            <tr>
                                <td>
                                    <asp:Label ID="Label13" runat="server" Font-Names="Tahoma" Font-Size="Small" 
                                        Text="  شماره قرارداد  :  "></asp:Label>
                                    <asp:Label ID="LblConNum" runat="server" Font-Names="Tahoma" Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                  &nbsp;   &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; <asp:Label ID="Label14" runat="server" Font-Names="Tahoma" Font-Size="Small" 
                                        Text="         نام روستا :   "></asp:Label>
                                    <asp:Label ID="lblvilname" runat="server" Font-Names="Tahoma" Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="Label16" runat="server" Font-Names="Tahoma" Font-Size="Small" 
                                        Text="     تاریخ قرارداد   :  "></asp:Label>
                                    <asp:Label ID="LblDate" runat="server" Font-Names="Tahoma" Font-Size="Small"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label17" runat="server" Text="وضعیت" Font-Names="tahoma"></asp:Label>
                                </td>
                                <td>
                                    <asp:DropDownList ID="DropDownListIsDone" runat="server" Font-Names="tahoma">
                                        <asp:ListItem Value="1">تایید اتمام این مرحله</asp:ListItem>
                                        <asp:ListItem Value="0">عدم تایید اتمام این مرحله</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td rowspan="3">
                                    <asp:DataList ID="DataList1" runat="server" CellPadding="4" DataKeyField="ID" 
                                        Font-Size="X-Small" Font-Names="Tahoma" ForeColor="#333333" HorizontalAlign="Left" 
                                        onselectedindexchanged="DataList1_SelectedIndexChanged">
                                        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                                        <EditItemStyle HorizontalAlign="Left" VerticalAlign="Bottom" />
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderTemplate>
                                            لیست مراحل
                                        </HeaderTemplate>
                                        <ItemStyle BackColor="#F7F6F3" Font-Size="10pt" ForeColor="#333333" 
                                            HorizontalAlign="Left" />
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Select" 
                                                ForeColor="Black" Text='<%# Eval( "Name" ) %>'></asp:LinkButton>
                                            <asp:Label ID="LabelID" runat="server" Text='<%# Eval( "ID" ) %>' 
                                                Visible="False"></asp:Label>
                                        </ItemTemplate>
                                        <SelectedItemStyle BackColor="#FFCCFF" Font-Bold="True" ForeColor="#333333" />
                                    </asp:DataList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label18" runat="server" Text="توضیحات" Font-Names="tahoma"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="TxtStatus" runat="server" Height="87px" TextMode="MultiLine" 
                                        Width="161px" Font-Names="tahoma"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="LblStatus" runat="server"></asp:Label>
                                </td>
                                <td>
                                    <asp:Button ID="ButtonRegister" runat="server" Font-Names="tahoma" 
                                        onclick="ButtonRegister_Click" Text="ثبت" Width="70px" />
                                </td>
                            </tr>
                        </table>
                        </asp:View>
                </asp:MultiView>
            
                
             
            </td>
        </tr>
    </table>   </ContentTemplate></uc2:Holder1>
</asp:Content>

